home *** CD-ROM | disk | FTP | other *** search
/ The Microsoft Windows 95 Recource Kit Utilities / Recouce Kit Utilities.iso / rkutil / shortcut.inf < prev   
INI File  |  1995-10-12  |  3KB  |  88 lines

  1. ; shortcut.INF
  2.  
  3. ; This is the Setup information file to install the animated cursor editor
  4.  
  5. ; Copyright (c) 1993-1995 Microsoft Corporation
  6.  
  7.  
  8. [version]
  9. LayoutFile=rklayout.inf
  10. signature="$CHICAGO$"
  11. SetupClass=BASE
  12.  
  13. [DestinationDirs]
  14. rklayout.copy = 17     ;  LDID_INF
  15. Register.Copy    = 17    ; LDID_INF
  16. shortcutCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE%    ; LDID_APPS\Program Files\Resource Kit
  17.  
  18. [Optional Components]
  19. shortcut
  20.  
  21. [shortcut]
  22. OptionDesc  = %shortcut_Desc%
  23. Tip         = %shortcut_TIP%
  24. CopyFiles   = shortcutCopyFiles, Register.Copy, rklayout.copy
  25. AddReg      = shortcutReg, shortcut.install.reg, Register.AddReg
  26. InstallType = 0            ;Manual only
  27. IconIndex   = 4            ;Default (diamond) mini-icon for dialogs
  28. Uninstall   = shortcut_remove
  29.  
  30.  
  31. [shortcut_remove]
  32. DelFiles    = shortcutCopyFiles, Register.Copy
  33. DelReg      = UnRegister.DelReg
  34.  
  35.  
  36. [rklayout.Copy]
  37. rklayout.inf
  38.  
  39. [Register.Copy]
  40. shortcut.inf
  41.  
  42. [shortcutCopyFiles]
  43. shortcut.exe
  44. shortcut.txt
  45.  
  46. [Register.AddReg]
  47. ;Create entries for Maint Mode Setup
  48. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\shortcut,DisplayName,,%uninstall_Desc%
  49. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\shortcut,UninstallString,,"RunDll setupx.dll,InstallHinfSection shortcut_Remove 4 shortcut.INF"
  50.  
  51. [UnRegister.DelReg]
  52. ;Remove entries for Maint Mode Setup
  53. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\shortcut
  54.  
  55. [shortcutReg]
  56. ; create the long-name for "Program Files"
  57. ; Note that when you rename a long name, VFAT changes the short name from
  58. ; foobar~1 to foobar~2.  To avoid this, we introduce a work around in the form of
  59. ; an intermediate rename
  60. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
  61. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
  62. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
  63. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
  64. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
  65. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
  66. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
  67.  
  68.  
  69. [Strings]
  70. RKTOOLS_DESC   = "Resource Kit"
  71. shortcut_Desc    = "Shortcut Maintenance Utility"
  72. uninstall_Desc   = "Shortcut Maintenance Utility"
  73. shortcut_TIP     = "Allows you to maintain and make shortcuts from the command line."
  74. DSK = "Windows 95 Resource Kit"
  75.  
  76.  
  77.  
  78. ; Directory names - note that that short versions must match the truncated
  79. ; 8 char names for the long versions, or else there will be problems.
  80. ; also need to put the short versions in the [DestinationDirs] section above
  81. ; Used by wordpad, hypertrm, backup, paint, & MSN
  82. Program_Files    = "Programme"         ; changed for the German version of Windows 95
  83. PROGRAMF         = "Progra~1"          ; first 6 chars of Program_Files, + "~1"
  84. OEM_PROGRAMF     = "Progra~1"          ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
  85. ResourceKit      = "Resource Kit"
  86. RESOURCE         = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"
  87. OEM_RESOURCE     = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"  - in OEM codepage (not Ansi)
  88.